<?php
/**
 * Created by PhpStorm.
 * User: godjarvis
 * Date: 2020/08/04
 * Time: 14:05
 */

namespace App\Http\Requests;

use Fresh\Annotation\RequestRule;
use Fresh\Mvc\FormRequest;
use Fresh\Annotation\RequestParam;

class PageRequest extends FormRequest
{
    /**
     * @RequestParam()
     * @RequestRule(value="required")
     * @var string
     */
    public $page;

    /**
     * @RequestParam()
     * @RequestRule(value="required")
     * @var string
     */
    public $limit;
}
